package com.lvmama.rhino.pojo.comment.query;

import java.io.Serializable;

/**
 * @Author:caoyong
 * @Description: 点评查询条件基类
 * @Date：2017/9/27
 */
public class CommentBaseQuery implements Serializable{
    private static final long serialVersionUID = -2433237006073580738L;
    /**
     * 最近多少天
     */
    private Integer days;

    /**
     * 产品id
     */
    private String productId;

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days==0? null: days;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    @Override
    public String toString() {
        return "CommentBaseQuery{" +
                "days=" + days +
                ", productId='" + productId + '\'' +
                '}';
    }
}
